<%@page import="java.net.URLDecoder"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<div class="container">
<form id="portal_update" action="portal/update" method="post">
	<input type="hidden" name="id" value="${keywords.id}"/> 
	<div class="subtitle">注册的移动云端信息</div>
	<div class="info1">
		<ul>
			<li>登录账号：<input class="easyui-validatebox" data-options="required:true" type="text" id="appUserName" name="appUserName" value="${ keywords.appUserName}"/> <span style="color:red;">*</span></li>
			<li>登陆密码：<input class="easyui-validatebox" data-options="required:true" type="text" id="appPassword" name="appPassword" value="${keywords.appPassword }"/> <span style="color:red;">*</span></li>
			<li>关键词：${keywords.keywords }</li>
			<li>登录地址：${keywords.loginUrl }</li>
			<li>客户端下载地址(IOS)：<input class="easyui-validatebox" data-options="validType:'url'" type="text" id="iosDownloadUrl" name="iosDownloadUrl" value="${keywords.iosDownloadUrl }"/></li>
			<li>二维码下载地址(IOS)：<input class="easyui-validatebox" data-options="validType:'url'"  type="text" id="codeIosUrl" name="codeIosUrl" value="${ keywords.codeIosUrl}"/></li>
			<li>客户端下载地址(Android)：<input class="easyui-validatebox" data-options="validType:'url'" type="text" id="androidDownloadUrl" name="androidDownloadUrl" value="${ keywords.androidDownloadUrl}"/></li>
			<li>二维码下载地址(Android)：<input class="easyui-validatebox" data-options="validType:'url'" type="text" id="codeAndroidUrl" name="codeAndroidUrl" value="${keywords.codeAndroidUrl }"/></li>
			<li>关键词开始日期：<f:formatDate value="${keywords.regDatetime}" pattern="yyyy-MM-dd"/></li>
			<li>关键词结束日期：<f:formatDate value="${keywords.regPassDatetime}" pattern="yyyy-MM-dd"/></li>
			<li>关键词有效年限：${ keywords.serviceYears}年</li>
		</ul>
		<div class="clear"></div>
	</div>

	<div class="subtitle">基本信息</div>
	<div class="info1">
		<ul>
			<li>企业名称：${custom.customname}</li>
			<li>状态：<c:if test="${custom.customstatus == 1}">
	        	 	  	<font color="green">启用</font>
	        	 	 </c:if>
	        	 	 <c:if test="${custom.customstatus == 0}">
	        	 	  	<font color="red">停用</font>
	        	 	 </c:if>
	        </li>
			<li>企业类型：${custom.customtypename}</li>
			<li>企业主页：${custom.siteurl}</li>
		</ul>
		<div class="clear"></div>
	</div>
	<div class="subtitle">门户信息</div>
	<div class="info2">
		<ul>
			<li>法人代表：${custom.bossname}</li>
			<li>注册日期：<f:formatDate value="${custom.regdatetime}" pattern="yyyy-MM-dd"/>  </li>
			<li>证件类型：${custom.cardtypename}</li>
			<li>证件号码：${custom.cardnum}</li>
			<li>国家：${custom.country}</li>
			<li>公司电话：${custom.companytel}</li>
			<li>公司传真：${custom.companyfax}</li>
			<li>公司地址：${custom.companyaddress}</li>
			<li>备注：${custom.memo}</li>
		</ul>
		<div class="clear"></div>
	</div>

	<div class="subtitle">联系人信息</div>
	<div class="info3">
		<ul>
			<c:if test="${contactList != null}">
            	<c:forEach items="${ contactList}" var="contact">
            		<li>
            			<div>姓名：${contact.contactname}</div>
            			<div>电话：${contact.contacttel}</div>
            			<div>传真：${contact.contactfax}</div>
            			<div>邮箱：${contact.contactemail}</div>
            			<div>职务：${contact.contactrole}</div>
            		</li>
            	</c:forEach>
            </c:if>
            <c:if test="${empty contactList}">
           	 <li>没有任何联系人</li>
            </c:if>
		</ul>
		<div class="clear"></div>
	</div>
	</form>
</div>

<link id='theme' rel='stylesheet' href='static/css/modifyportal.css'/>